package com.party.business.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.party.business.domain.TBusinessPost;
import org.apache.ibatis.annotations.Mapper;

/**
 * 业务岗位Mapper接口
 *
 * @author ruoyi
 * @date 2024-11-09
 */
@Mapper
public interface TBusinessPostMapper  extends BaseMapper<TBusinessPost>
{
    /**
     * 查询业务岗位
     *
     * @param id 业务岗位主键
     * @return 业务岗位
     */
    public TBusinessPost selectTBusinessPostById(String id);

    /**
     * 查询业务岗位列表
     *
     * @param tBusinessPost 业务岗位
     * @return 业务岗位集合
     */
    public List<TBusinessPost> selectTBusinessPostList(TBusinessPost tBusinessPost);

    /**
     * 新增业务岗位
     *
     * @param tBusinessPost 业务岗位
     * @return 结果
     */
    public int insertTBusinessPost(TBusinessPost tBusinessPost);

    /**
     * 修改业务岗位
     *
     * @param tBusinessPost 业务岗位
     * @return 结果
     */
    public int updateTBusinessPost(TBusinessPost tBusinessPost);

    /**
     * 删除业务岗位
     *
     * @param id 业务岗位主键
     * @return 结果
     */
    public int deleteTBusinessPostById(String id);

    /**
     * 批量删除业务岗位
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTBusinessPostByIds(String[] ids);
}
